/*
 * @Author: szx
 * @Date: 2022-03-05 13:13:48
 * @LastEditTime: 2022-03-05 13:15:12
 * @Description:
 * @FilePath: \leetcode\1500-1599\1503\1503.js
 */
/**
 * @param {number} n
 * @param {number[]} left
 * @param {number[]} right
 * @return {number}
 */
var getLastMoment = function (n, left, right) {
    return Math.max(Math.max(...left), Math.max(...right));
};
